path

public String path()

Obtains the path to the plugin.

Returned string will hold one of the following:

  • absolute path to the plugin file on the local file system;
  • plugin extension name;
  • the resource URL (for example, chrome-extension://<IDENTIFIER>)